package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.LabelInfo;
import com.atguigu.lease.model.entity.RoomLabel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @author liubo
 * @description 针对表【room_label(房间&标签关联表)】的数据库操作Mapper
 * @createDate 2023-07-24 15:48:00
 * @Entity com.atguigu.lease.model.RoomLabel
 */
public interface RoomLabelMapper extends BaseMapper<RoomLabel> {

    /**
     * 根据房间id查询标签信息
     *
     * @param id
     * @return
     */
    List<LabelInfo> getLabelInfo(@Param("id") Long id);
}




